/* 
 * GrayRabbit Cms基于J2EE架构内容管理系统
 * Copyright © GrayRabbit Co., Ltd. All rights reserved.
 * Department：运营部
 * 更多信息请访问：
 * http://code.google.com/p/gray-rabbit-cms/
 */
package org.grayrabbit.cms.constant; 

import java.util.ArrayList;
import java.util.List;

import org.grayrabbit.cms.entity.Dictionary;


/**
 * <b>DictionaryStaticValues</b> 字典常量类 

 * @version 1.0，创建时间：2011-05-16 14:46:53 
 */
public class DictionaryStaticValues {
	
	public final static List<Dictionary> EMPTY_DICTIONARY_LIST = new ArrayList<Dictionary>();
	public final static String IS_ENABLE = "IS_ENABLE";	//是否启用
	public final static String IS_MODIFY = "IS_MODIFY";	//是否可由用户维护
	public final static String CONTENT_STATUS = "CONTENT_STATUS";	//文章状态	0待审核状态	1审核通过	2审核未通过	3发布状态	4锁定状态
	public final static String CONTENT_TYPE = "CONTENT_TYPE"; 		//文章类型       1普通文章     2 软件文章  	 3图片文章  	  4视频文章 	5动画文章  	6链接文章
	public final static String CONTENT_STATUS_NEW = "0";
	public final static String CONTENT_STATUS_SUCCESS = "1";
	public final static String CONTENT_STATUS_FAIL = "2";
	public final static String CONTENT_STATUS_PUBLISH = "3";
	public final static String CONTENT_STATUS_LOCK = "4";
	public final static String CONTENT_STATUS_UNLOCK = "unlock";
	public final static String CONTENT_STATUS_DRAFT = "-1";
	public final static String CONTENT_PUBLISH_TYPE = "publish_type";
	public final static String CONTENT_PUBLISH_TYPE_DEFAULT = "0";
	public final static String CONTENT_PUBLISH_TYPE_CAT = "1";
	public final static String CONTENT_PUBLISH_TYPE_SITE = "2";
	public final static String CONTENT_PUBLISH_TYPE_CAT_SITE = "3";
	public final static String CATEGORY_IS_NOT_TAX = "0";
	public final static String CATEGORY_IS_TAX = "1";
	public final static String CATEGORY_IS_TAX_QUESTION = "2";
	public final static String CATEGORY_IS_TAX_QUESTION_ZJ = "3";
	public final static String CATEGORY_IS_TAX_QUESTION_WY = "4";
	public final static String IS_TOP = "IS_TOP";	//文章是否置顶
	public final static String IS_ACTIVE = "IS_ACTIVE";	//是否激活
	public final static String AUDIT_TYPE = "AUDIT_TYPE";	//审核是否通过	2未通过	1通过，对应文章状态
	public final static String IS_MALE   = "IS_MALE";   //是否男女
	public final static String PAPER_TYPE="PAPER_TYPE"; //证件类型 
	public final static String EDUCATION="EDUCATION";   //文化程度
	public final static String FAMILY="FAMILY";         //民族
	public final static String IS_ENABLE_TRUE = "true";
	public final static String INTERVIEWEE = "INTERVIEWEE";//受访人群
	public final static String MSG_STATUS = "MSG_STATUS";//受访人群
	
	
	/**站点*/
	public final static String IS_VIRTUALHOSTING = "IS_VIRTUALHOSTING";	//是否是虚拟主机
	/**栏目 */
	public final static String IS_COMMENT = "IS_COMMENT";	//是否允许评论
	public final static String IS_INITCOMMENT = "IS_INITCOMMENT";	//是否初始化
	public final static String IS_AUDIT = "IS_AUDIT";	//是否允许审核
	public final static String IS_CONTRIBUTE = "IS_CONTRIBUTE";	//是否允许投稿
	public final static String IS_LINK = "IS_LINK";  //是否链接
	/**系统配置中的是和否*/
	public final static String CONFIG_ISNOT="CONFIG_ISNOT";
	/** 是否管理员*/
	public final static String IS_ADMIN="IS_ADMIN";
	/**阅读状态 */
	public final static String MAIL_STATE="MAIL_STATE";

	public final static String SURVEYSTATUS = "SURVEYSTATUS";	//调查状态 
	
	public final static boolean SURVEYSTATUS_ACTIVE = true;	//调查状态 启用
	public final static boolean SURVEYSTATUS_NOTACTIVE = false;	//调查状态 禁用
	public final static String SURVEYREPEATSUBMITSTATUS = "SURVEYREPEATSUBMITSTATUS";	//是否允许同Ip重新提交调查
	
	public final static String VOTESTATUS = "VOTESTATUS";	//投票状态
	public final static String VOTEREPEATSUBMIT = "VOTEREPEATSUBMIT";	//是否允许同Ip重新提交投票
	public final static String VOTECHECKTYPE = "VOTECHECKTYPE";	//是否多选
	/**是否推荐*/
	public final static String ISRECOMMEND="ISRECOMMEND";
	/**会员密码初始化*/
	public final static String MEMBERINITPASSWD="123456";
	
	/**是否注册商标*/
	public final static String IS_MARK="IS_MARK";
	/**企业经营模式*/
	 public final static String ETP_BUSINESS_MODEL="ETP_BUSINESS_MODEL";
	/**行业类型*/
	public final static String ENTERPRISE_TYPE = "ENTERPRISE_TYPE";
	/**企业所在地*/
	public final static String AREA = "AREA";
	
	public final static String CHINA = "100000"; 
	
	/**荣誉级别*/
	public final static String HONOR_LEVEL_LIST = "HONOR_LEVEL_LIST";
	/**消息组类型*/
	public final static String MSG_DROUP_TYPE = "MSG_DROUP_TYPE";
	/**短信模板类型*/
	public final static String MSG_TEMPLATE_TYPE = "MSG_TEMPLATE_TYPE";
	/**企业招聘状态*/
	public static final String OFFER_STATUS_LIST = "OFFER_STATUS_LIST";
	
	public final static String TOPIC_STATUS = "TOPIC_STATUS";	//专题状态   0新建状态	1审核通过	2审核未通过	3发布状态
	
	public final static String TOPIC_STATUS_NEW = "0";
	public final static String TOPIC_STATUS_SUCCESS = "1";
	public final static String TOPIC_STATUS_FAIL = "2";
	public final static String TOPIC_STATUS_PUBLISH = "3";
	
	public final static String IS_CHECKMODEL = "IS_CHECKMODEL";  //是否多选题
	
	/** 税务*/
	public final static String IS_PASS = "IS_PASS"; //是否通过
	
	/**系统配置中的是和否*/
	public final static String IS_CONFIG="IS_CONFIG";
	
	/**企业类别*/
	public final static String ENTERPRICE_TYPE = "ENTERPRICE_TYPE";
	
	/************系统模块类别开始****************/
	/**系统模块类别code */
	public final static String SYSTEM_MODULE = "SYSTEM_MODULE";	
	
	/**登陆code*/
	public final static String LOGIN = "login";
	
	/**站点code*/
	public final static String SITE = "site";	
	
	/**栏目code*/
	public final static String CATEGORY = "category";	
	
	/**专题code*/
	public final static String TOPIC = "topic";	
	
	/**内容code*/
	public final static String CONTENT = "content";

	/**发布code*/
	public final static String PUBLISH = "publish";

	/**系统模块code*/
	public final static String SYSTEM = "system";

	/**主题code*/
	public final static String THEME = "theme";
	
	
	/************系统木块结束****************/
	
	
	/************操作动作开始****************/
	/**操作动作类code*/
	public final static String OPER_ACT = "OPER_ACT";	
	
	/**新增code*/
	public final static String ADD  = "add";	
	
	/**删除code*/
	public final static String DELETE  = "delete";	
	
	/**编辑code*/
	public final static String EDIT  = "edit";	
	
	/**审核code*/
	public final static String ADUIT  = "aduit";	
	
	//TODO操作动作预定义       按需添加
	
	/************操作动作结束****************/
	
	public final static String CONTENT_CONTENT = "content";
	
	public final static String CONTENT_SOFTWARE = "software";
	
	public final static String CONTENT_VIDEO = "video";
	
	public final static String CONTENT_FLASH = "flash";
	
	public final static String CONTENT_PICTURE = "picture";
	
    
	/**税务字典常量**/
	/**税务查询类型*/
	public final static String TAX_TYPE = "tax_q_a";
	/**税务咨询类别*/
	public final static String TAX_DIC_TAX = "tax";
    /**会计资讯类别*/	
	public final static String TAX_DIC_ACCOUNTANT = "accountant";
	/**短信订阅内容*/
	public static final String BOOKING_CONTENT_TYPE_SMS = "BOOKING_CONTENT_TYPE_SMS";
	/**邮件订阅内容*/
	public static final String BOOKING_CONTENT_TYPE_EMAIL = "BOOKING_CONTENT_TYPE_EMAIL";
	/**发送状态*/
	public final static String SEND_STATUS = "SEND_STATUS";
	/**税务提问类型*/
	public final static String TAX_Q_TYPE = "tax_q_type";
	public final static String SHOW_ASSOCIATORS_VALIDE = "0";
	
	/**	企业审核	**/
	public final static String ENTERPRISE_AUDIT = "enterprise_audit";
	/**	未提交审核	**/
	public final static Long ENTERPRISE_AUDIT_NEW = 0L;
	/**	待审核/审核中	**/
	public final static Long ENTERPRISE_AUDIT_WAIT = 1L;
	/**	审核失败	**/
	public final static Long ENTERPRISE_AUDIT_FAIL = 2L;
	/**	审核成功	**/
	public final static Long ENTERPRISE_AUDIT_SUCCESS = 3L;
	
	/**留言未审核状态*/
	public final static String MSGBOARD_UNAUDITED = "msgboard_unaudited";
	/**留言审核通过*/
	public final static String MSGBOARD_AUDIT_PASS = "msgboard_audit_pass";
	/**留言审核未通过*/
	public final static String MSGBOARD_AUDIT_NOT_PASS = "msgboard_audit_not_pass";
}

